package com.ruoyi.durian.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.durian.domain.LlThali;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.durian.domain.vo.ThaliVo;

import java.util.List;

/**
* @author lenovo
* @description 针对表【ll_thali(优惠券模块-套餐表)】的数据库操作Service
* @createDate 2024-07-26 16:17:15
*/
public interface LlThaliService extends IService<LlThali> {

    /**
     * 套餐列表
     *
     * @return
     */
    List<LlThali> thaliList();

    /**
     * 发放套餐
     *
     * @return
     */
    AjaxResult grantThali(LlThali llThali);

    /**
     * 套餐详情
     *
     * @return
     */
    AjaxResult thaliInfo(Integer id);

    /**
     * 删除套餐
     *
     * @return
     */
    AjaxResult delThali(Integer id);

    List<LlThali> thailList(Integer status);
}
